import http from '../http/http.js'
export default {

    __api_list_users_get(params) {
        return http.request({
            url: '/users' ,
            method: 'GET',
            params: params
        });
    },
    __api_list_users_get_totoken(params) {
        return http.request({
            url: '/users?token=' + params,
            method: 'GET',

        });
    },
    __api_list_users_put(params, v) {
        return http.request({
            url: '/users' + v.id,
            method: 'put',
            params: params
        });
    },
    __api_list_users_delete(params) {
        return http.request({
            url: '/users/' + params.id,
            method: 'DELETE'
        });
    },
    __api_list_users_post(params) {
        return http.request({
            url: '/users/',
            method: 'post',
            params: params
        });
    },
    __api_list_video_get_toid(params) {
        return http.request({
            url: '/video?id=' + params,
            method: 'GET',

        });
    },
    __api_list_video_get(params) {
        return http.request({
            url: '/video',
            method: 'GET',
            params: params
        });
    },
    __api_list_video_put_toid(params) {
        return http.request({
            url: '/video?id=' + params,
            method: 'PUT',

        });
    },
    __api_list_video_put(params, v) {
        return http.request({
            url: '/video/' + v.id,
            method: 'put',
            params: params
        });
    }, __api_list_video_post(params) {
        return http.request({
            url: '/video',
            method: 'post',
            params: params
        });
    }, __api_list_video_delete(params) {
        return http.request({
            url: '/video/' + params.id,
            method: 'DELETE'
        });
    }, __api_list_label_delete(params) {
        return http.request({
            url: '/label' + params.id,
            method: 'DELETE'
        });
    }, __api_list_label_post(params) {
        return http.request({
            url: '/label',
            method: 'post',
            params: params
        });
    }, __api_list_label_put(params, v) {
        return http.request({
            url: '/label' + v.id,
            method: 'put',
            params: params
        });
    }, __api_list_label_get(params, v) {
        return http.request({
            url: '/label' + v,
            method: 'GET',
            params: params
        });
    }, __api_list_status_get(v) {
        return http.request({
            url: '/status' + v,
            method: 'GET',
        });
    },

}